﻿namespace Furesoft.Patterns.Proxy
{
    public class Proxyble<T>
        where T : IRequestable, new()
    {
        private T obj;

        public void Request()
        {
            if (obj == null)
            {
                obj = new T();
            }
            obj.Request();
        }
    }
}